@barHeight: 45px;

.videoList {
  display: flex;
  flex-direction: column;
  z-index: 499;
  flex: 1;
  position: relative;
}


ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toolsBar {
  height: @barHeight;
  line-height: @barHeight;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 20px;
  background: #FFFFFF;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  ul {

    li {
      display: inline;
      margin: auto 10px;
      cursor: pointer;
      transition: all .3s;

      &:hover,
      &.active {
        color: #1890ff;
      }
    }
  }

  .toolsIcon {
    font-size: 22px;
  }
}

.pullLeft {
  float: left;
}

.pullRight {
  float: right;
}

.videos {
  flex: 1;
  background: #000000;

  display: flex;


  .sos {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 99;
    font-size: 22px;
    font-weight: 800;
    color: #c60;
    background: rgba(255, 255, 255, .9);
    line-height: 1;
    padding: 5px 10px
  }

  ul {
    flex: 1;

    li {
      float: left;
      transition: all .3s;
      position: relative;
      border: 1px solid #373440;
      margin: 0px -1px -1px 0px;
      z-index: 2;
      min-height: 200px;

      &:hover {
        border: 1px solid #aa91ae;
        z-index: 3;
      }

      &.active,
      &.active:hover {
        border: 2px solid #cc4400;
        z-index: 5;
      }

      .videoLoading {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        position: absolute;
        user-select: none;
        cursor: default;
        color: #999;
        font-size: 24px;
        font-weight: 300;
      }

      // &::after {
      //     content       : "";
      //     display       : inline-block;
      //     padding-bottom: 56.25%;
      // }

      &.v1 {
        width: 100%;
        height: 100%;
      }

      &.v4 {
        width: 50%;
        height: 50%;
      }

      &.v6 {

        &:first-child {
          width: 67%;
          height: 66%;
        }

        &:nth-child(2) {
          width: 33%;
          height: 33%;
        }

        &:nth-child(3) {
          width: 33%;
          height: 33%;
        }

        &:nth-child(4) {
          width: 33.5%;
          margin: 0px 0px -1px 0px;
          height: 34%;
        }

        &:nth-child(5) {
          width: 33.5%;
          height: 34%;
        }

        &:nth-child(6) {
          width: 33%;
          height: 34%;
        }

      }

      &.v9 {
        width: 33.333333333%;
        height: 33.333333333%;
      }

      &.v16 {
        width: 25%;
        height: 25%;
      }

      &.v25 {
        width: 20%;
        height: 20%;
      }

      &.v40 {
        width: 12.5%;
        height: 20%;
      }
    }
  }

}
